package com.kingyea.app.market.appExtendInfo.dao;

import com.kingyea.app.market.appExtendInfo.bean.AppExtendInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author
 * @version v1.0.0
 * @description AppExtendInfoMapper
 * @date Created in 2018-02-10 16:11:06
 */
public interface AppExtendInfoMapper {

    /**
     * 通过ID获取对象
     */
    AppExtendInfo getById(@Param("id") String id);

    /**
     * 通过ID删除对象
     */
    void deleteById(@Param("id") String id);

    /**
     * 更新对象
     */
    void update(AppExtendInfo obj);

    /**
     * 保存对象
     */
    void save(AppExtendInfo obj);

    /**
     * 查询列表
     */
    Object list(AppExtendInfo appExtendInfo);

    AppExtendInfo getByAppCode(@Param(value = "appCode") String code);

    List<AppExtendInfo> getList(Map<String, Object> map);

    Integer deletesByAppCode(String appCode);
}
